import Cookies from 'js-cookie'
import setting from '../setting'

const pathKey = setting.appMenuDefaultPathKey

export function setMenuDefaultPath(path) {
  Cookies.set(pathKey, path)
}

export function getMenuDefaultPath() {
  return Cookies.get(pathKey)
}

export function removeMenuDefaultPath() {
  Cookies.remove(setting.appMenuDefaultPathKey)
}